﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;




namespace HAVTKPack
{
    /// <summary>
    /// 存储某层（Cell单元）的外围边框信息
    /// </summary>
     [Serializable]
    
     public class HydrolicLayer
     {
         /// <summary>
         /// 
         /// </summary>
         /// <param name="nrows">rows方向边框点的个数</param>
         /// <param name="ncols">cols方向的边框点的个数</param>
         public HydrolicLayer(int nrows, int ncols)
         {
             _coords = new Coordinate[nrows, ncols];

         }



         Coordinate[, ] _coords;
        /// <summary>
        /// 二维数组  存放层面上的点的坐标XYZ信息
        /// </summary>
         public Coordinate[,] Coords
         {
             get { return _coords; }

         }
         /// <summary>
         /// rows方向边框点的个数
         /// </summary>
         public int NRows
         {
             get
             {
                 return this._coords.GetLength(0);
             }
         }
         /// <summary>
         /// cols方向的边框点的个数
         /// </summary>
         public int NCols
         {

             get
             {

                 return this._coords.GetLength(1);
             }
         }

     }


}
